package com.util.common;


import java.io.Serializable;
import java.util.List;

public class QueryList<T> implements Serializable {

    private List<T> resultList;

    private Page page;

    public QueryList() {
    }

    public QueryList(List<T> resultList, Page page) {
        this.resultList = resultList;
        this.page = page;
    }

    public List<T> getResultList() {
        return resultList;
    }

    public void setResultList(List<T> resultList) {
        this.resultList = resultList;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }
}
